body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 40rem;
  margin: 0 auto;
  margin-top: 5rem;
  padding: 2rem;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 0.8rem;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.1);
}

.search-box input[type="text"] {
  padding-left: 1rem;
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 1rem;
}

.search-box button {
  background-color: #4285f4;
  color: #fff;
  border: none;
  outline: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
}

.search-box select {
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 0 0.625rem;
}

.search-box select:focus {
  box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.1);
}

.logo {
  text-align: center;
  margin-bottom: 1rem;
}

.logo img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: rotate(45deg);
}

.hitokoto {
  margin: 0 auto;
  margin-top: 4rem;
}

.hitokoto p {
  text-align: center;
  font-size: 1.2rem;
}

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 1rem 0;

  font-size: 0.8rem;
  color: #888888;
}

/* 设置 */

.settings-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1); 
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  border-radius: 5px;
}

.background-list button {
  width: 4rem;
  height: 2rem;
  background-color: #fff;
  border: 0.1rem solid #000;
  border-radius: 0.375rem;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}